html, body, form, fieldset {
	margin: 0;
	padding: 0;
}
body {
	background: #f5f5f5;
	color: #444;
	font-family: tahoma, verdana, arial;
	width:100%;
	font-size: 13px;
	line-height: 1.4em;
}

/* Normal link */
a, a:visited {
	color: #115FA8;
	text-decoration:none;
}

a:hover, a:active, a:focus {
	text-decoration: underline;
}

a img {
	border: none;
}

/* Title text */
h1, h2, h3, h4 {
	color: #746E66;
	line-height: normal;
	font-weight:normal;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif
}

h1 {font-size: 220%;}
h2 {font-size: 200%;}
h3 {font-size: 160%;}
h4 {font-size: 140%;}

p, pre, blockquote, ul, ol, h1, h2, h3, h4 {
	margin: 2px 0 10px;
	padding: 0;
}

strong {
	font-weight:bold;
}

ul {
	list-style: none;
}
ul li {
	background: url(../images/bullet.gif) no-repeat 18px 7px;
	padding-left: 30px;
	margin:8px 0 0;
}

#wrap,
#wraptop,
#wrapin,
#footerwrap {
	width:100%;
	text-align:center;
	margin:0;
	padding:0;
}

#wraptop {
	border-bottom:4px solid #d24836;
	background:#2d2d2d;
	height:45px;
	margin-bottom:15px;
}
#top {
	width:1200px;
	margin: 0 auto;
	text-align:left;
	padding:5px 0 0;
	height:40px;
	color:#FFF;
}
#top h2 {
	color:#FFF;
	font-style:normal;
	margin:0;
	font-size:180%;
	line-height:40px;
}
#top h2 a {
	color:#FFF;
}
#top h2 a:hover {
	text-decoration:none;
}
#topright a, 
#topright a:visited {
	color:#FFF;
	padding:0 5px;
}
#topright a:hover, 
#topright a:active, 
#topright a:focus {
	background:#d24836;
	text-decoration:none;
}
#topleft {
	float:left;
	width:70%;
	padding:0;
	margin:0;
}
#topright {
	float:right;
	width:29%;
	padding:15px 0 0;
	margin:0;
	text-align:right;
}

#content {
	width:1200px;
	margin: 0 auto;
	text-align:left;
	padding:0;
}
#left {
	float:left;
	width:930px;
	padding:9px;
	margin:0;
	border:1px solid #ccc;
	background:#fff;
	min-height:400px;
	height:auto !important;
	height:400px;
}
#right {
	float:right;
	width:249px;
	padding:0;
	margin:0;
	border-top:1px solid #ccc;
	border-right:1px solid #ccc;
	border-bottom:1px solid #ccc;
	background:#fff;
}
#version {
	float:right;
	width:240px;
	height:20px;
	padding:0 0 0 10px;
	margin:5px 0;
}
span.version {
	float:left;
	height:20px;
	padding:0;
	margin:0;
	color:#ccc;
	font-size:11px;
}

/* Right Menu */
#right ul.menu {
	list-style: none;
	margin: 0;
	padding: 0;
	float:left;
	width:100%;
}
#right ul.menu li {
	display: block;
	margin: 0;
	padding: 0;
	line-height: normal;
	background: none;
}
#right ul.menu li a {
	color: #746E66;
	display:block;
	width:89%;
	padding: 10px 0 10px 10%;
	margin:0;
	text-decoration: none;
	font-weight:bold;
	background: url(../images/arrow.gif) no-repeat 10px;
	border-top:1px solid #f0f0f0;
}
#right ul.menu li a:hover,
#right ul.menu li a:active,
#right ul.menu li a:focus,
#right ul.menu a.active {
	text-decoration: none;
	color:#d24836;
	background: url(../images/arrow.gif) no-repeat 12px;
}
#right ul.menu li ul {
	list-style: none;
	margin: 0 0 10px 10%;
	padding: 0;
}
#right ul.menu li li {
	border: none;
	background: none;
	padding: 0;
}
#right ul.menu li li a {
	border: none;
	padding: 2px 0 2px 6%;
	margin:0 0 2px;
	text-transform: none;
	font-weight: normal;
	background:url(../images/arrow.gif) no-repeat 2px 8px;
	text-decoration: none;
	width: 92%;
}
#right ul.menu li li a:hover,
#right ul.menu li li a:active,
#right ul.menu li li a:focus,
#right ul.menu li li a.active {
	color:#d24836;
	text-decoration: none;
	background: url(../images/arrow.gif) no-repeat 3px 8px;
}

.topbuttons {
	float:right;
}
.topbuttons a,
.topbuttons a:visited {
	padding:2px 10px;
	margin-left:3px;
	background:url(../images/arrow.gif) no-repeat left;
}
.topbuttons a:hover {
	background:#115FA8;
	color:#fff;
	text-decoration:none;
}

#footer {
	margin:5px auto;
	width:1200px;
	padding:0 0 50px;
	text-align:left;
	color:#999;
	font-size:11px;
}



/* FORM */

input.short,
dd.short input,
dd.short select{
	width:350px;
}

input#submit {
	display:block;
	width:150px;
	margin:5px 15px;
	padding:6px 30px;
	cursor:pointer;
	background:#d24836;
	color:#fff;
	border:none;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size:16px;
	font-weight:bold;
	text-transform:uppercase;
	border-radius: 5px;
}

input#submit:hover {
	text-decoration:none;
	background:#b13625;
}

dl {
	background:#f5f5f5;
	border:1px solid #e3e3e3;
	padding:10px;
}
dt.label {
	font-size:14px;
	color:#444;
	font-weight:bold;
}
dt {
	padding:0;
	margin:0;
}
dd {
	padding:10px;
	margin:0;
}

dd:hover {
	
}

dd.submit {
}
dd.submit:hover {
	background:none;
}

label.required {
	background: url(../images/required.gif) no-repeat top right;
	padding:0 10px 0 0;
}

dd.inline input#submit {
	float:right;
	margin:0;
}
dd.inline select {
	float:left;
}

input#sef_url
{
	padding: 6px 0;
	margin:3px 0;
	border: 1px solid #fff;
	background: none;
	font-weight:bold;
	width:300px;
	color: #444;
	font-family: tahoma, verdana, arial;
	font-size: 13px;
	line-height: 1.4em;
	
}


#sef_url:hover,
#sef_url:focus {
	color: #666;
	background:#fffddf;
	color:#333;
	border: 1px solid #ccc;
}




/* FORM */
.inputbox {
	padding: 6px 4px;
	margin:3px 0;
	border: 1px solid #ccc;
	background: #fcfcfc;
	color: #666;
	font-size:16px;
	width:500px;
}

.calendarDateInput {
	padding: 3px 2px;
	margin:0;
	border: 1px solid #ccc;
	background: #fcfcfc;
	color: #666;
	font-size:16px;
}

.w500 {
	width:500px;
}

.w400 {
	width:400px;
}

.w250 {
	width:250px;
}

.inputbox:hover,
.inputbox:focus {
	background:#fffddf;
	color:#333;
}

form#insert {
	font-size:16px;
}
form#insert em {
	font-size:11px;
	line-height:normal;
	color:#999;
	font-family:Arial, Helvetica, sans-serif;
}

span.address_2 {
	float:right;
	margin-right:450px;
	font-family:Arial, Helvetica, sans-serif;
	font-style:italic;
}

/* Table */
table#listing {
	border-top:1px solid #dfdfdf;
	border-left:1px solid #dfdfdf;
	line-height:normal;
}
table#listing thead {
	background:#f0f0f0;
	color:#444;
	font-weight:bold;
}
table#listing thead td {
	white-space:nowrap;
	padding:6px;
}
table#listing tr.zebra {
	background: #F2F7FF;
}
table#listing tbody tr:hover {
	background: #fffddf;
}
table#listing td {
	padding:4px 6px;
	border-right:1px solid #dfdfdf;
	border-bottom:1px solid #dfdfdf;
}
table#listing td.switch,
table#listing td.icons,
table#listing td.sort {
	text-align:center;
	white-space: nowrap;
	width:80px;
}
/* Icons */
a.turn_off,
a.turn_on,
a.edit,
a.delete,
a.search,
a.mail,
a.sorting_down,
a.sorting_up,
a.sorting_top {
	padding:0;
	margin:1px;
	width:16px;
	height:16px;
	cursor:pointer;
	text-indent:20px;
	overflow:hidden;
	display:inline-block;
}
a.turn_off {
	background:url(../images/ioff.png);
}
a.turn_on {
	background:url(../images/ion.png);
}
a.edit {
	background:url(../images/iedit.png);
}
a.delete {
	background:url(../images/idel.png);
}
a.search {
	background:url(../images/isearch.png);
}
a.mail {
	background:url(../images/imail.png);
}
a.sorting_down {
	background:url(../images/idown.png);
}
a.sorting_up {
	background:url(../images/iup.png);
}
a.sorting_top {
	background:url(../images/itop.png);
}

a.page,
a.image,
a.folder,
a.admin,
.topbuttons a.print {
	padding:0 0 0 20px;
	margin:0;
}
a.page {
	background:url(../images/ipage.png) no-repeat left;
}
a.image {
	background:url(../images/ipic.png) no-repeat left;
}
a.folder {
	background:url(../images/ifolder.png) no-repeat left;
}
a.admin {
	background:url(../images/iadmin.png) no-repeat left;
}

.topbuttons a.print {
	background:url(../images/iprint.png) no-repeat left;
	margin:0 10px;
}

.topbuttons a.print:hover {
	background:url(../images/iprint.png) no-repeat left;
	color:#115FA8;
	text-decoration:underline;
}

/* messages */
.message {
	float:left;
	width:97%;
	padding:10px 1%;
	margin:0 0 10px;
	color:#000;
}
.message h3 {
	color:#333;
}
.red {
	background:#ff6b6b;
	border:1px solid #bc1d1d;
}
.green {
	background:#c7f464;
	border:1px solid #73a20b;
}


/* Paging */
.pagingwrap {
	width:100%;
	padding:20px 0 0;
	margin:0;
	text-align:center;
}
.paging {
	margin:0 auto;
	padding:0;
	text-align:left;
	width:350px;
}
.paging ul span {
	padding:1px 6px;
	margin:0 2px;
	color:#fff;
	border-top: 1px solid #f0f0f0;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	border-left: 1px solid #f0f0f0;
	background:#ccc;
	display: block;
}
.paging ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.paging ul li {
	margin: 0;
	padding: 0;
	line-height: normal;
	background: none;
	float:left;
}
.paging ul li a,
.paging ul li a:visited {
	float:left;
	padding:1px 6px;
	margin:0 2px;
	text-decoration: none;
	border-top: 1px solid #f0f0f0;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	border-left: 1px solid #f0f0f0;
	background:#ffffff;
}
.paging ul li a:hover,
.paging ul li a:focus,
.paging ul li a:active {
	background:#fffddf;
	color:#000;
}


/* Clearfix */
.clearfix:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}

* html > body .clearfix {
	display: block;
	width: 100%;
}

* html .clearfix {
	height: 1%;
}
*:first-child+html .clearfix { zoom: 1; } /* IE7 */


#bottomLine a{

}

#bottomLine{
	float:left;
	display:block;
	padding:6px 5%;
	background:#ececec;
	border-top:1px solid #e3e3e3;
	position: fixed;
	bottom: 0px;
	width:100%;
	left:0;
	
	-moz-box-shadow: 0 0 6px rgba(0, 0, 0, .5);
	-webkit-box-shadow: 0 0 6px rgba(0, 0, 0, .5);
	box-shadow: 0 0 6px rgba(0, 0, 0, .5);
}
	
	

input#submit, 
a.button,
a.button:visited {
	display:block;
	margin:5px 15px;
	padding:6px 30px;
	cursor:pointer;
	background:#d24836;
	color:#fff;
	border:none;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size:16px;
	font-weight:bold;
	text-transform:uppercase;
	border-radius: 5px;
	float:left;
	text-decoration:none;
}


input#submit:hover,
a.button:hover,
a.button:active,
a.button:focus {
	text-decoration:none;
	background:#b13625;
}

a.button.grey{
	background: #999;
}

	
@media screen and (max-width: 1200px) {
	#top,
	#content,
	#footer {
		width:960px;
	}
	#left {
		width:740px;
		padding:9px;
	}
	#right {
		width:199px;
	}
	#version {
		width:190px;
		padding:0 0 0 10px;
	}
	
}

@media screen and (max-width: 960px) {
	#top,
	#content,
	#footer {
		width:95%;
	}
	#left {
		width:95%;
		padding:9px 2%;
		min-height:inherit;
	}
	#right {
		width:50%;
		float:left;
		border-top:none;
		border-left:1px solid #ccc;
	}
	#version {
		width:40%;
	}
	
}

/**
 * Nestable
 */

ul.type-box{
	overflow-y: scroll;
	height: 400px;
	padding: 3px;
	border: solid 1px #CCC;
	width:100%;	
	list-style:none;
}
ul.type-box li {
	background:none;
	margin:0;
	padding:3px 0;
}
	
ul.type-box li:hover{
}

.dd { position: relative; display: block; margin: 0; padding: 0; max-width: 600px; list-style: none; font-size: 13px; line-height: 20px; }

.dd-list { display: block; position: relative; margin: 0; padding: 0; list-style: none; }
.dd-list .dd-list { padding-left: 30px; }
.dd-collapsed .dd-list { display: none; }

.dd-item,
.dd-empty,
.dd-placeholder { display: block; position: relative; margin: 0; padding: 0; min-height: 20px; font-size: 13px; line-height: 20px; }

.dd-handle { display: block; height: 30px; margin: 5px 0; padding: 5px 10px; color: #333; text-decoration: none; font-weight: bold; border: 1px solid #ccc;
    background: #fafafa;
    background: -webkit-linear-gradient(top, #fafafa 0%, #eee 100%);
    background:    -moz-linear-gradient(top, #fafafa 0%, #eee 100%);
    background:         linear-gradient(top, #fafafa 0%, #eee 100%);
    -webkit-border-radius: 3px;
            border-radius: 3px;
    box-sizing: border-box; -moz-box-sizing: border-box;
}
.dd-handle:hover { color: #2ea8e5; background: #fff; }

.dd-item > button { display: block; position: relative; cursor: pointer; float: left; width: 25px; height: 20px; margin: 5px 0; padding: 0; text-indent: 100%; white-space: nowrap; overflow: hidden; border: 0; background: transparent; font-size: 12px; line-height: 1; text-align: center; font-weight: bold; }
.dd-item > button:before { content: '+'; display: block; position: absolute; width: 100%; text-align: center; text-indent: 0; }
.dd-item > button[data-action="collapse"]:before { content: '-'; }

.dd-placeholder,
.dd-empty { margin: 5px 0; padding: 0; min-height: 30px; background: #f2fbff; border: 1px dashed #b6bcbf; box-sizing: border-box; -moz-box-sizing: border-box; }
.dd-empty { border: 1px dashed #bbb; min-height: 100px; background-color: #e5e5e5;
    background-image: -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff), 
                      -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image:    -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff), 
                         -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image:         linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff), 
                              linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

.dd-dragel { position: absolute; pointer-events: none; z-index: 9999; }
.dd-dragel > .dd-item .dd-handle { margin-top: 0; }
.dd-dragel .dd-handle {
    -webkit-box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
            box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
}

/**
 * Nestable Extras
 */

.nestable-lists { display: block; padding:0; width:65%; border: 0; float:right; margin:0;}

#nestable-menu { padding: 0; margin: 20px 0; }

#nestable-output,
#nestable2-output { width: 100%; height: 7em; font-size: 0.75em; line-height: 1.333333em; font-family: Consolas, monospace; padding: 5px; box-sizing: border-box; -moz-box-sizing: border-box; }

#nestable2 .dd-handle {
    color: #fff;
    border: 1px solid #999;
    background: #bbb;
    background: -webkit-linear-gradient(top, #bbb 0%, #999 100%);
    background:    -moz-linear-gradient(top, #bbb 0%, #999 100%);
    background:         linear-gradient(top, #bbb 0%, #999 100%);
}
#nestable2 .dd-handle:hover { background: #bbb; }
#nestable2 .dd-item > button:before { color: #fff; }

.act-btns{ position:absolute; right:10px; top:6px;}

.dd-hover > .dd-handle { background: #2ea8e5 !important; }

/**
 * Nestable Draggable Handles
 */

.dd3-content { display: block; height: 30px; margin: 5px 0; padding: 5px 10px 5px 40px; color: #333; text-decoration: none; font-weight: bold; border: 1px solid #ccc;
    background: #fafafa;
    background: -webkit-linear-gradient(top, #fafafa 0%, #eee 100%);
    background:    -moz-linear-gradient(top, #fafafa 0%, #eee 100%);
    background:         linear-gradient(top, #fafafa 0%, #eee 100%);
    -webkit-border-radius: 3px;
            border-radius: 3px;
    box-sizing: border-box; -moz-box-sizing: border-box;
}
.dd3-content:hover { color: #2ea8e5; background: #fff; }

.dd-dragel > .dd3-item > .dd3-content { margin: 0; }

.dd3-item > button { margin-left: 30px; }

.dd3-handle { position: absolute; margin: 0; left: 0; top: 0; cursor: pointer; width: 30px; text-indent: 100%; white-space: nowrap; overflow: hidden;
    border: 1px solid #aaa;
    background: #ddd;
    background: -webkit-linear-gradient(top, #ddd 0%, #bbb 100%);
    background:    -moz-linear-gradient(top, #ddd 0%, #bbb 100%);
    background:         linear-gradient(top, #ddd 0%, #bbb 100%);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.dd3-handle:before { content: '≡'; display: block; position: absolute; left: 0; top: 3px; width: 100%; text-align: center; text-indent: 0; color: #fff; font-size: 20px; font-weight: normal; }
.dd3-handle:hover { background: #ddd; }

.act-btns{ position:absolute; right:10px; top:6px;}
.menu-titles{ 
	display:none;
	border: 1px solid #ccc;
	background: #fafafa;
	padding:10px;
	position:relative;
	top:-5px;
}